export function parseHdcOutput(output: string): Array<{id: string, name: string}> {
    const devices: Array<{id: string, name: string}> = [];
    const lines = output.trim().split('\n');
    
    for (let i = 0; i < lines.length; i++) {
        const line = lines[i].trim();
        if (line.includes('Empty')) {
            break;
        }

        if (line) {
            devices.push({ id: line, name: line });
        }
    }
    
    return devices;
}